package com.shenmazong.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shenmazong.entity.TbMessage;
import com.shenmazong.entity.TbStage;
import org.apache.ibatis.annotations.Select;

public interface MessageMapper extends BaseMapper<TbMessage> {
    @Select(
            "select * from tb_message where article_id = #{valueOf} or user_id = #{valueOf1} limit 1 "
    )
    TbMessage selectIsExeit(Long valueOf, Long valueOf1);
}
